﻿#region Copyright

//  ======================================================
//      Copyright (c) 2011 Toulr All rights reserved.
//     
//      The use and distribution terms for this software are contained in the file
//      named license.txt, which can be found in the root of this distribution.
//      By using this software in any fashion, you are agreeing to be bound by the
//      terms of this license.
//     
//     You must not remove this notice, or any other, from this software.
//  ======================================================

#endregion

#region Using Namespaces

using System;
using System.ComponentModel.DataAnnotations;
using Toulr.Domains.Account;

#endregion

namespace Toulr.Domains.Business
{
    /// <summary>
    ///   用户对店铺评价对象定义
    ///   店铺评价汇总得分
    /// </summary>
    public class ShopEvaluation:IEntity
    {
        #region Property

        /// <summary>
        ///   被评价店铺
        /// </summary>
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public int ShopId { get; set; }

        /// <summary>
        ///   店铺评分项名称1
        /// </summary>
        [MaxLength(500)]
        public String EvaluationContent { get; set; }
        public string ItemName1 { get; set; }
        public string ItemName2 { get; set; }
        public string ItemName3 { get; set; }
        public string ItemName4 { get; set; }
        public string ItemName5 { get; set; }
        public string ItemName6 { get; set; }
        public string ItemName7 { get; set; }
        public string ItemName8 { get; set; }
        public string ItemName9 { get; set; }
        public string ItemName10 { get; set; }

        /// <summary>
        ///   店铺评分项名称
        /// </summary>
        public float ItemValue1 { get; set; }
        public float ItemValue2 { get; set; }
        public float ItemValue3 { get; set; }
        public float ItemValue4 { get; set; }
        public float ItemValue5 { get; set; }
        public float ItemValue6 { get; set; }
        public float ItemValue7 { get; set; }
        public float ItemValue8 { get; set; }
        public float ItemValue9 { get; set; }
        public float ItemValue10 { get; set; }

        /// <summary>
        /// 店铺被评论次数
        /// </summary>
        public int CritiqueCount { get; set; }

        /// <summary>
        /// 店铺被分享次数
        /// </summary>
        public int ShareInCount { get; set; }

        #endregion

    }
}